home *** CD-ROM | disk | FTP | other *** search
- Path: informatik.tu-muenchen.de!fischerj
- From: fischerj@informatik.tu-muenchen.de (Juergen "Rally" Fischer)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Free Cycles
- Date: 29 Feb 1996 11:35:56 GMT
- Organization: Technische Universitaet Muenchen, Germany
- Distribution: world
- Message-ID: <4h432s$hki@sunsystem5.informatik.tu-muenchen.de>
- References: <1996Feb15.170809.6386@imada.ou.dk> <1139.6624T1309T1361@teclink.net> <4gfpdn$elr@maureen.teleport.com>
- NNTP-Posting-Host: hphalle3g.informatik.tu-muenchen.de
- Originator: fischerj@hphalle3g.informatik.tu-muenchen.de
-
-
- In article <4gfpdn$elr@maureen.teleport.com>, sschaem@teleport.com (Stephan Schaem) writes:
- |> Organization: Teleport - Portland's Public Access (503) 220-1016
- |> Lines: 25
- |> Message-ID: <4gfpdn$elr@maureen.teleport.com>
- |> References: <1996Feb15.170809.6386@imada.ou.dk> <1139.6624T1309T1361@teclink.net>
- |> NNTP-Posting-Host: linda.teleport.com
- |> X-Newsreader: TIN [version 1.2 PL2]
- |>
- |> rad (rad@teclink.net) wrote:
- |>
- |> : Bjorn Reese <breese@imada.ou.dk> wrote:
- |> : >tim bscke (azure@people-x.people.de) wrote:
- |> : >> move.l (fast)+,(chip)+ ;18 cylces
- |> : >> clr.l (chip)+ ;24(!!!) cycles
- |> : >[...]
- |> : >> Why ?? This seems to be really strange to me.. esp. the clr.l..
- |>
- |> : >If my memory haven't betrayed me, clr reads the destination before
- |> : >clearing it. So a clr makes two chip accesses. This behaviour is
- |> : >also the reason why you should never use clr to clear a write-only
- |> : >register.
- |>
- |> : You are correct for the 68000. This is a good reason to stick with the 68010+
- |> : (if not the 68020+) where the clr instruction doesn't have this drawback.
- |> : Considering that the 68000's are only used in unaccelerated 500s, 600s and
- |> : 2000s I don't think that's really problem.
-
- and for 68000 free cycles don't exist btw (no cache -> mem read).
- don't know about 68010 in loop mode.
-
- |>
- |> clr.l (a0)+ take 6 cycle on a 030/020 , a move.l dx,(a0)+ take 4...
- |> dunno on the 040 and up... but using clr is not recomanded for speed.
- |> Its nice when you dont have a reqister free or set to zero, otherwise
- |> avoid.
- |>
- |> Stephan
- ------------------------------------------------------------------------
- fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer) =:)
-
-